<%@ include file="/commons/include.jsp" %>
<%@ page pageEncoding="UTF-8"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<c:remove var="menuno"/>
<c:set var="menuno" value="1"/>
<script type="text/javascript" src="../js/datetimeSelect.js"></script>
<link href="${ctx}/template/css.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
<!--
function openform(){
	title = ""; 
	url = 'tuserList.action';
	width = 500;
	height=500;
	var left = screen.width/2-width+width/2;
	if(left<0)left = 50;
	var top = screen.height/2-height+height/2;
	if(top<0)top = 50;	
	//if (!ie5){
		property = "width="+width+", height="+height+",top="+top+",left="+left+",toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no,modal=yes";
		window.open(url,title,property);
	//}else{
	//	window.showModalDialog(url,title,"dialogWidth:"+width+"px;dialogHeight:"+height+"px;dialogTop="+top+"; dialogLeft="+left+";help=no;status=no;resizable=no;scroll=yes;");	
	//}
	
}
//-->
</script>
<table class="body">
	<tr>
		<td valign="top" align="center" class="bodyTd">

<div class="dataviewRow">
	<div class="dataviewTitlebg">
		<div class="dataviewTitle">定时任务</div>
	</div>
	<form name="SmsSendForm" method="post" action="smsresult.jsp" onsubmit="return true;">
	<table class="soformTb">
		<tr>
			<td align="right">接收对象：</td>
			<td style="align:left;">
				<textarea name="toPersons" readonly="readonly" style="width:350px;height:60px;background-color: #eeeeee;"></textarea>
				<input type="button" name="" value="选择" onclick="openform();" class="btn">	
							
			</td>
		</tr>
		<tr>
			<td align="right">接收号码：</td>
			<td style="align:left;">
				<input type="text" name="toMobiles" value="" style="width:350px;">
				接收号码以半角分号";"隔开！
			</td>	
		</tr>
		<tr>
			<td align="right">短信标题：</td>
			<td style="align:left;">
				<input type="text" name="title" maxlength="70" value="" style="width:350px;">
			</td>	
		</tr>
		<tr>
			<td align="right">短信内容：</td>
			<td>
				<textarea name="content" style="width:350px;height:60px;"></textarea>				
			</td>	
		</tr>	
		<tr>
			<td align="right">需要回复：</td>
			<td>
				<input type="radio" name="needup" value="0" checked="checked">不需要
				<input type="radio" name="needup" value="1">需要					
			</td>	
		</tr>		
		<tr>
			<td align="right">发送时间：</td>
			<td>
				<!--  <input type="radio" name="sendKind" value="0" checked="checked">即时发送
				<input type="radio" name="sendKind" value="1">定时发送-->
				<input type="text" name="datehm"	readOnly onClick="setDayHM(this);">
			</td>	
		</tr>
		<!-- 
		<tr>
			<td align="right">是否存档：</td>
			<td>
				<input type="radio" name="saveTemp" value="0" checked="checked">是
				<input type="radio" name="saveTemp" value="1">否
			</td>	
		</tr>	
		 -->						
		<tr>
			<td align="center" colspan="2">
				<input type="hidden" name="method" value="send">
				<input type="submit" value="确定" class="btn">	
				<input type="reset" value="重置" class="btn">					
			</td>
		</tr>	
	</table>
	</form>		
	<!-- soformTb -->
</div>
		</td>		
	</tr>
</table>
